package org.jeecg.modules.santu.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 格子
 * @Author: jeecg-boot
 * @Date:   2025-04-06
 * @Version: V1.0
 */
@Data
@TableName("tb_cell")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_cell对象", description="格子")
public class TbCell implements Serializable {
    //开
    public static final Integer ON = 0;
    //关
    public static final Integer CLOSE = 1;

    private static final long serialVersionUID = 1L;


	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**格子编号*/
	@Excel(name = "格子编号", width = 15)
    @ApiModelProperty(value = "格子编号")
    private java.lang.Integer cellNumber;
	/**格子状态*/
	@Excel(name = "格子状态", width = 15, dicCode = "cell_status")
	@Dict(dicCode = "cell_status")
    @ApiModelProperty(value = "格子状态")
    private java.lang.Integer cellStatus;
	/**格子取件码*/
	@Excel(name = "格子取件码", width = 15)
    @ApiModelProperty(value = "格子取件码")
    private java.lang.String cellCode;
	/**格子其它信息*/
	@Excel(name = "格子其它信息", width = 15)
    @ApiModelProperty(value = "格子其它信息")
    private java.lang.String otherDescs;
}
